import request from '@/utils/request'

// 取水监测点台账信息填报-列表查询
const monitorStationsLedgerInfoList = function (params = {}) {
  return request({
    url: '/zy-api/api/waterPoint/getWaterMonitoringPointList',
    method: 'post',
    data: params
  })
}

// 根据id查询-取水监测点台账信息填报
const monitorStationsLedgerInfoDetails = function (params = {}) {
  return request({
    url: '/zy-api/api/waterPoint/getWaterMonitoringPointId',
    method: 'post',
    data: params
  })
}

// 取水监测点台账信息填报-新增
const addMonitorStationsLedgerInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/waterPoint/addWaterMonitoringPoint',
    method: 'post',
    data: params
  })
}

// 取水监测点台账信息填报-修改
const editMonitorStationsLedgerInfo = function (params = {}) {
  return request({
    url: '/zy-api/api/waterPoint/updWaterMonitoringPoint',
    method: 'post',
    data: params
  })
}

export {
  monitorStationsLedgerInfoList,
  monitorStationsLedgerInfoDetails,
  addMonitorStationsLedgerInfo,
  editMonitorStationsLedgerInfo
}